package io.geekidea.springboot.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import io.geekidea.springboot.entity.Device;

public interface IDeviceService extends IService<Device> {
    Device getById(Long deviceId);

    Page<Device> listByPage(int page, int size, Long buildingId);
}
